package com.ztgf.shopping.models.vo.shop;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class ShopOnlineQueryListVO implements Serializable {

    @ApiModelProperty(value = "在线时长,单位:分钟")
    private Long onLines;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

    @ApiModelProperty(value = "最近一次登录时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date latelySignTime;

    @ApiModelProperty(value = "最近一次退出时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date latelyOutTime;

    @ApiModelProperty(value = "在线时长(换算后)")
    private String onLineTime;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "回复率")
    private String ResponseRate;

    @ApiModelProperty(value = "五分钟回复率")
    private String fiveResponseRate;

    @ApiModelProperty(value = "十分钟回复率")
    private String tenResponseRate;

    @ApiModelProperty(value = "半小时回复率")
    private String halfHourResponseRate;

    @ApiModelProperty(value = "在线状态:0离线,1在线")
    private Integer isOnline = 0;
}
